#ifndef ILLIB_HASH_H_
#define ILLIB_HASH_H_

#include <stdint.h>
#include <stddef.h>

namespace illib {
	namespace Hash {
		enum HashType {
			FNV
		};
		const uint32_t FNVInit = 0x811c9dc5;
		uint32_t Buffer(HashType type, const void * buffer, size_t len, uint32_t hash);
		uint32_t String(HashType type, const char* str, uint32_t hash);
	}
}

#endif /* ILLIB_HASH_H_ */
